package com.qiyu.model.request.backend;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiParam;
import lombok.Data;

@Data
public class HomeBannerReq {
    @ApiModelProperty("add:添加，update:修改，del:删除，query:查看")
    private String handler;
    @ApiModelProperty("id")
    private Long id;
    /**
     * banner地址
     */
    @ApiModelProperty("图片地址")
    private String bannerUrl;

    /**
     * 排序
     */
    @ApiModelProperty(value = "排序",hidden = true)
    private Integer sort;

    /**
     * 是否上线，1上线 0下线
     */
    @ApiModelProperty("是否上线")
    private Boolean online;

    @ApiModelProperty("轮播名称")
    private String bannerName;
}
